<p>
	If you have simple use case, you can omit items array and bind options directly in html using <b>ng-option</b>
	component.
</p>

<div>
	<button type="button" class="btn btn-secondary btn-sm" (click)="toggleDisabled()">Toggle disabled</button>
</div>
<br />
<ng-select [multiple]="true" [(ngModel)]="selectedCars">
	@for (car of cars; track car) {
		<ng-option [value]="car.id" [disabled]="car.disabled">{{ car.name }}</ng-option>
	}
	<ng-option value="custom">Custom</ng-option>
</ng-select>

<br />Selected car ID: {{ selectedCars | json }}
